/* 版心 */

.w {
    width: 1200px;
    margin: 0 auto;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?tomleg') format('truetype'), url('../fonts/icomoon.woff?tomleg') format('woff'), url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.main {
    margin-top: 10px;
    margin-left: 218px;
    width: 980px;
    height: 455px;
}


/* 轮播图的制作开始 */

.focus {
    overflow: hidden;
    position: relative;
    float: left;
    width: 721px;
    height: 455px;
    background-color: purple;
}

.focus ul {
    position: absolute;
    top: 0px;
    left: 0px;
    /* 将小li的父亲ul的宽度改为focus宽度的六倍 */
    width: 600%;
}

.focus ul li {
    float: left;
}


/* 两个小按钮的制作 */

.arrow_r,
.arrow_l {
    /* z-index是层级 */
    z-index: 2;
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 24px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 40px;
    color: #fff;
}

.arrow_l {
    right: 0px;
}


/* 两个小按钮的制作结束 */


/* 小圆圈制作 */

.circle {
    position: absolute;
    bottom: 10px;
    left: 50px;
}

.circle li {
    float: left;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #fff;
}

.circle .current {
    background-color: orange;
}


/* 小圆圈制作结束 */


/* 轮播图的制作结束 */


/* newflash模块开始制作 */

.newflash {
    float: right;
    width: 250px;
    height: 455px;
    /* background-color: skyblue; */
}

.news {
    height: 165px;
    /* background-color: purple; */
    border: 1px solid #e4e4e4;
}

.news-hd {
    padding: 0px 15px;
    height: 33px;
    /* dotted是虚线的意思 */
    border-bottom: 1px dotted #e4e4e4;
}

.news-hd h5 {
    float: left;
    line-height: 33px;
    font-size: 14px;
}

.news-hd .more {
    float: right;
    line-height: 33px;
    font-size: 14px;
}

.news-hd .more::after {
    content: '\e920';
    font-family: 'icomoon';
}

.news-bd {
    padding: 5px 15px 0px;
}

.news-bd ul li {
    /* 超出部分隐藏 */
    overflow: hidden;
    /* 文字必须一行显示 */
    white-space: nowrap;
    /* 文字超出部分用省略号  */
    text-overflow: ellipsis;
    height: 24px;
    line-height: 24px;
}

.lifeservice {
    height: 209px;
    /* background-color: pink; */
}

.bargain {
    margin-top: 6px;
}

.lifeservice {
    /* 把溢出的部分切了 */
    overflow: hidden;
    border: 1px solid #e4e4e4;
    border-top: 0px;
}


/* 把ul设置的足够宽，能够装下小li，小li就不会掉下来了 */

.lifeservice ul {
    width: 252px;
}

.lifeservice ul li {
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    /* 将这里面的元素居中 */
    text-align: center;
}

.lifeservice ul li:nth-child(2) {
    position: relative;
}

.lifeservice ul li:nth-child(2) img {
    position: absolute;
    top: 0px;
    right: 0px;
}

.lifeservice ul li i {
    display: inline-block;
    margin-top: 12px;
    background: url(../images/icons.png) no-repeat -16px -12px;
    width: 23px;
    height: 28px;
}


/* newflash模块制作结束 */